package com.dllo.lanou.cookapp.volly;

import com.android.volley.AuthFailureError;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by xijinhua on 2016/2/15.
 */
public class GetHeader {
    private static  GetHeader util;

    public GetHeader(){

    }
    public static GetHeader getInstance()  {
        if(util == null){
            synchronized ((GetHeader.class)){
                if (util == null){
                    util = new GetHeader();
                }
            }
        }
        return util;
    }

    public Map<String, String> getHeaders() throws AuthFailureError {
        Map<String, String> map = new HashMap<String, String>();
        map.put("apikey", "4ee0087cd4103e3acbab0f8efbf0bbd1");
        return map;
    }
}
